package com.tongji.showroom.events
{		
	import com.tongji.showroom.view.twoD.Furniture;
	
	import flash.events.Event;
	
	/**
	 * 
	 * @author chenzhongyuan
	 * 2011-7-27
	 */
	
	public class ShowRoomEvent extends Event
	{
		public static const SHOW_ROOM:String = "showRoom";
		
		private var _data:Object;

		public function get data():Object
		{
			return _data;
		}
		
		public function ShowRoomEvent(type:String, data:Object = null, cancelable:Boolean=false):void
		{
			super(type, true, false);
			this._data = data;
		}
		
		override public function clone():Event
		{
			return new ShowRoomEvent(type, data);
		}
	}
}